[3.11] gh-103848: Adds checks to ensure that bracketed hosts found by urlsplit are...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 10 May 2023 06:35:24 +0000 (23:35 -0700)
committerAndrej Shadura <andrewsh@debian.org>
Tue, 20 Jan 2026 10:45:10 +0000 (11:45 +0100)
commit5ba796ad6f346129d889a772ab9b40fa113b51f1
treeb724ab1d6d9aa4ccc13d5bd9bebb0d84c0fcb704
parent2bf9a2cb33f11d3d2189954b71ac8afc83525a1d
[3.11] gh-103848: Adds checks to ensure that bracketed hosts found by urlsplit are of IPv6 or IPvFuture format (GH-103849) (#104349)

gh-103848: Adds checks to ensure that bracketed hosts found by urlsplit are of IPv6 or IPvFuture format (GH-103849)

* Adds checks to ensure that bracketed hosts found by urlsplit are of IPv6 or IPvFuture format

---------

(cherry picked from commit 29f348e232e82938ba2165843c448c2b291504c5)

Co-authored-by: JohnJamesUtley <81572567+JohnJamesUtley@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Gbp-Pq: Name 0027-3.11-gh-103848-Adds-checks-to-ensure-that-bracketed-.patch
Lib/test/test_urlparse.py
Lib/urllib/parse.py